package com.ruoyi.app.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 电池提醒对象 app_battery_reminder
 * 
 * @author dreamyy
 * @date 2025-11-26
 */
public class AppBatteryReminder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 房间ID */
    @Excel(name = "房间ID")
    private Long roomId;

    /** 周期月份 */
    @Excel(name = "周期月份")
    private Long cycleMonths;

    /** 上次提醒时间 */
    private Date lastBatteryChangeTime;

    /** 上次提醒时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上次提醒时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastRemindTime;

    /** 下一个提醒时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下一个提醒时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date nextRemindTime;

    /** $column.columnComment */
    private String remindChannel;

    /** 提醒状态 */
    @Excel(name = "提醒状态")
    private Integer remindStatus;

    /** $column.columnComment */
    private Integer isActive;

    /** 删除标志 */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setRoomId(Long roomId) 
    {
        this.roomId = roomId;
    }

    public Long getRoomId() 
    {
        return roomId;
    }

    public void setCycleMonths(Long cycleMonths) 
    {
        this.cycleMonths = cycleMonths;
    }

    public Long getCycleMonths() 
    {
        return cycleMonths;
    }

    public void setLastBatteryChangeTime(Date lastBatteryChangeTime) 
    {
        this.lastBatteryChangeTime = lastBatteryChangeTime;
    }

    public Date getLastBatteryChangeTime() 
    {
        return lastBatteryChangeTime;
    }

    public void setLastRemindTime(Date lastRemindTime) 
    {
        this.lastRemindTime = lastRemindTime;
    }

    public Date getLastRemindTime() 
    {
        return lastRemindTime;
    }

    public void setNextRemindTime(Date nextRemindTime) 
    {
        this.nextRemindTime = nextRemindTime;
    }

    public Date getNextRemindTime() 
    {
        return nextRemindTime;
    }

    public void setRemindChannel(String remindChannel) 
    {
        this.remindChannel = remindChannel;
    }

    public String getRemindChannel() 
    {
        return remindChannel;
    }

    public void setRemindStatus(Integer remindStatus) 
    {
        this.remindStatus = remindStatus;
    }

    public Integer getRemindStatus() 
    {
        return remindStatus;
    }

    public void setIsActive(Integer isActive) 
    {
        this.isActive = isActive;
    }

    public Integer getIsActive() 
    {
        return isActive;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("roomId", getRoomId())
            .append("cycleMonths", getCycleMonths())
            .append("lastBatteryChangeTime", getLastBatteryChangeTime())
            .append("lastRemindTime", getLastRemindTime())
            .append("nextRemindTime", getNextRemindTime())
            .append("remindChannel", getRemindChannel())
            .append("remindStatus", getRemindStatus())
            .append("isActive", getIsActive())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
